package cn.com.ylpw.web.order.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.com.ylpw.web.order.service.OrderService;
import cn.com.ylpw.web.util.AbstractService;

/**
 * 订单Service接口实现
 * 
 * @author 于旺
 * @date   2015年9月23日13:56:31
 * @Copyright ©2003-2015 北京春秋永乐文化传播有限公司. All Rights Reserved.
 * @version 新架构 1.0
 */
@Service("orderService")
public class OrderServiceImpl extends AbstractService implements OrderService{
	private final static String NAME_SPACE = "cn.com.ylpw.web.order.Order";
	@Override
	public Map<String, Object> getCustomer(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getCustomer", params);
	}
	@Override
	public Map<String, Object> getProduct(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getProduct", params);
	}
	@Override
	public Map<String, Object> getProductAll(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getProductAll", params);
	}
	@Override
	public Map<String, Object> findShadeInfo(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getShadeInfo", params);
	}
	@Override
	public Map<String, Object> findShadePassword(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getShadePassword", params);
	}
	@Override
	public Map<String, Object> findVipPricePC(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getVipPricePC", params);
	}
	@Override
	public Map<String, Object> findTfconfig(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getTfconfig", params);
	}
	@Override
	public Map<String, Object> shakedown(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getShakedown", params);

	}
	@Override
	public Integer CusLimitTicOrder(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getCusLimit", params);
	}
	@Override
	public List<Map<String, Object>> findCusAddress(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findCusAddress", params);
	}
	@Override
	public List<Map<String, Object>> findCustomerCashcoupon(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findCustomerCashcoupon", params);
	}
	@Override
	public List<Map<String, Object>> findCashcouponInfoByNo(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findCashcouponInfoByNo", params);
	}
	@Override
	public Integer findTruebuy(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "findTruebuy", params);
	}
	@Override
	public List<Map<String, Object>> findProductplaysByProductId(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findProductplaysByProductId", params);
	}
	@Override
	public Integer findRenewal(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "findRenewal", params);
	}
	@Override
	public Map<String, Object> findOrderById(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "findOrderById", params);
	}
	@Override
	public List<Map<String, Object>> findOrderdetailsByOrderIdNew(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findOrderdetailsByOrderIdNew", params);
	}
	@Override
	public Map<String, Object> findTfconfigUpdoor(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "getTfconfigUpDoor", params);
	}
	@Override
	public List<Map<String, Object>> findCodeInfo(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().findObjectList(NAME_SPACE, "findCodeInfo", params);
	}
	@Override
	public Integer isCashDis(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "isCashDis", params);
	}
	@Override
	public Integer isCashDisAll(Map<String, Object> params) throws Exception {
		return super.superDao.getMyBatisFactory().getObject(NAME_SPACE, "isCashDisAll", params);
	}
}
